<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
		<title>短信</title>
		<link href="bootstrap-3.3.5-dist/css/bootstrap.min.css" title="" rel="stylesheet" />
		<link title="" href="css/style.css" rel="stylesheet" type="text/css" />
		<link title="blue" href="css/dermadefault.css" rel="stylesheet" type="text/css" />
		<link title="green" href="css/dermagreen.css" rel="stylesheet" type="text/css" disabled="disabled" />
		<link title="orange" href="css/dermaorange.css" rel="stylesheet" type="text/css" disabled="disabled" />
		<link rel="stylesheet" type="text/css" href="css/weui.css" />
		<link href="css/templatecss.css" rel="stylesheet" title="" type="text/css" />
		<link rel="stylesheet" type="text/css" href="css/sup.css" />
		<script src="script/jquery-1.11.1.min.js" type="text/javascript"></script>
		<script src="script/jquery.cookie.js" type="text/javascript"></script>
		<script src="script/weui.min.js"></script>
		<script src="bootstrap-3.3.5-dist/js/bootstrap.min.js" type="text/javascript"></script>
		<script src="script/main.js"></script>
		<script src="script/new_file.js"></script>
	</head>
	<style>
		html,
		body {
			width: 100%;
			height: 100%;
		}
		
		* {
			margin: 0;
			padding: 0;
			list-style: none;
		}
		
		a {
			text-decoration: none;
		}
		
		input {
			outline: none;
		}
		
		.users-list {
			height: 100%;
		}
		
		.list-header {
			height: 100%;
			background: #fff;
			text-align: center;
		}
		
		.replace {
			width: 50%;
			padding: 0px 50px;
			height: 200px;
			margin: 0 auto;
			position: relative;
		}
		
		.original {
			width: 200px;
			height: 200px;
			border: 2px solid #09c;
			padding: 5px;
			border-radius: 5px;
			margin: auto;
		}
		
		.new-chart {
			width: 200px;
			height: 200px;
			float: right;
			border: 2px solid #09c;
		}
		
		#up {
			margin-top: 10px;
		}
		
		.tijiao {
			width: 60px;
			height: 30px;
			float: left;
			border: none;
			background: #58c1dd;
			color: #fff;
			border-radius: 3px;
		}
		
		.titles {
			text-align: center;
			line-height: 50px;
			background: #fff;
			font-size: 28px;
			font-weight: bold;
			color: #666;
			padding: 20px 0;
		}
		
		.public {
			width: 100%;
			height: 350px;
			margin-top: 50px;
			border-top: 2px solid #eee;
		}
		
		.public p {
			text-align: center;
			line-height: 50px;
			font-size: 28px;
			font-weight: bold;
		}
		
		.img_div img {
			width: 100%;
			height: 100%;
		}
		
		.formse {
			position: relative;
			margin: auto;
		}
		
		.filess {
			border: 1px solid #000;
			position: relative;
			z-index: 99;
			opacity: 0;
			margin-bottom: 10px;
		}
		
		.file_a {
			width: 282px;
			height: 27px;
			position: absolute;
			top: 0px;
			left: 0;
		}
		
		.file_a button {
			width: 70px;
			float: left;
			background: #3074b5;
			color: #fff;
			border: none;
			border-radius: 3px;
			height: 100%;
		}
		
		.img_div {
			width: 185px;
			height: 185px;
		}
		.file_a span{
			float: left;
			height: 100%;
			line-height: 27px;
			margin-left: 15px;
		}
	</style>

	<body>
		<nav class="nav navbar-default navbar-mystyle navbar-fixed-top">
			<div class="navbar-header">
				<button class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> 
     <span class="icon-bar"></span> 
     <span class="icon-bar"></span> 
     <span class="icon-bar"></span> 
    </button>
				<a class="navbar-brand mystyle-brand"><span class="glyphicon glyphicon-home"></span></a>
			</div>
			<div class="collapse navbar-collapse">
				<ul class="nav navbar-nav">
					<li class="li-border">
						<a class="mystyle-color" href="#">管理控制台</a>
					</li>
				</ul>

				<ul class="nav navbar-nav pull-right">
					<li class="li-border">
						<a href="#" class="mystyle-color">
							<span class="glyphicon glyphicon-bell"></span>
							<span class="topbar-num">0</span>
						</a>
					</li>
					<li class="user_name">
						<a href="#">修改用户名或密码</a>
					</li>
					<li class="dropdown li-border">
						<a href="#" class="dropdown-toggle mystyle-color User_name" data-toggle="dropdown">设置<span class="caret"></span></a>
						<ul class="dropdown-menu">
							<li class="cancellation">
								<a>退出</a>
							</li>
						</ul>
					</li>
				</ul>
			</div>
		</nav>
		<div class="down-main">
			<div class="left-main left-full">
				<div class="sidebar-fold"><span class="glyphicon glyphicon-menu-hamburger"></span></div>
				<div class="subNavBox">
					<div class="sBox">
						<div class="subNav sublist-down"><span class="title-icon glyphicon glyphicon-chevron-down"></span><span class="sublist-title">用户中心</span>
						</div>
						<ul class="navContent" style="display:block">
							<li>
								<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />用户管理</div>
								<a href="userInfo.html"><span class="sublist-icon glyphicon glyphicon-user"></span><span class="sub-title">用户管理</span></a>
							</li>
							<li>
								<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />收入总计</div>
								<a href="Total.html"><span class="sublist-icon glyphicon glyphicon-user"></span><span class="sub-title">收入总计</span></a>
							</li>
							<li>
								<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />游戏设置</div>
								<a href="message.html"><span class="sublist-icon glyphicon glyphicon-envelope"></span><span class="sub-title">游戏设置</span></a>
							</li>
							<li>
								<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />轮播图设置</div>
								<a href="smsInfo.html"><span class="sublist-icon glyphicon glyphicon-bullhorn"></span><span class="sub-title">轮播图设置</span></a>
							</li>

							<li class="active">
								<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />二维码设置</div>
								<a href="code.html"><span class="sublist-icon glyphicon glyphicon-credit-card"></span><span class="sub-title">二维码设置</span></a>
							</li>
							<li>
								<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />广告抽成</div>
								<a href="pumping.html"><span class="sublist-icon glyphicon glyphicon-credit-card"></span><span class="sub-title">广告抽成</span></a>
							</li>
							<li>
								<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />添加域名</div>
								<a href="adddomain.html"><span class="sublist-icon glyphicon glyphicon-credit-card"></span><span class="sub-title">添加域名</span></a>
							</li>
							<li>
								<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />域名管理</div>
								<a href="administration.html"><span class="sublist-icon glyphicon glyphicon-credit-card"></span><span class="sub-title">域名管理</span></a>
							</li>
							<li>
								<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />提现审核</div>
								<a href="cashchecking.html"><span class="sublist-icon glyphicon glyphicon-credit-card"></span><span class="sub-title">提现审核</span></a>
							</li>
							<li>
								<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />广告详情</div>
								<a href="Ad-Details.html"><span class="sublist-icon glyphicon glyphicon-credit-card"></span><span class="sub-title">广告详情</span></a>
							</li>
							<li>
								<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />维护设置</div>
								<a href="Maintain.html"><span class="sublist-icon glyphicon glyphicon-credit-card"></span><span class="sub-title">维护设置</span></a>
							</li>
							<li>
								<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />奖品设置</div>
								<a href="getMissionAward.html"><span class="sublist-icon glyphicon glyphicon-credit-card"></span><span class="sub-title">奖品设置</span></a>
							</li>
							<li>
								<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />任务管理</div>
								<a href="getMission.html"><span class="sublist-icon glyphicon glyphicon-credit-card"></span><span class="sub-title">任务管理</span></a>
							</li>
							<li>
								<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />订单详情</div>
								<a href="getFbOrderAll.html"><span class="sublist-icon glyphicon glyphicon-credit-card"></span><span class="sub-title">订单详情</span></a>
							</li>
							<!--<li>
								<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />玩法介绍</div>
								<a href="method.html"><span class="sublist-icon glyphicon glyphicon-credit-card"></span><span class="sub-title">玩法介绍</span></a>
							</li>-->
						</ul>
					</div>
					<div class="sBox">
						<div class="subNav sublist-up"><span class="title-icon glyphicon glyphicon-chevron-up"></span><span class="sublist-title">代理设置</span></div>
						<ul class="navContent tBLES">
							<li>
								<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />添加代理</div>
								<a href="addto.html"><span class="sublist-icon glyphicon glyphicon-user"></span><span class="sub-title">添加代理</span></a>
							</li>
							<li>
								<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />代理详情</div>
								<a href="details.html"><span class="sublist-icon glyphicon glyphicon-user"></span><span class="sub-title">代理详情</span></a>
							</li>
						</ul>
					</div>
					<div class="sBox">
						<div class="subNav sublist-up"><span class="title-icon glyphicon glyphicon-chevron-up"></span><span class="sublist-title">说明设置</span></div>
						<ul class="navContent tBLES">
							<li>
								<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />游戏玩法</div>
								<a href="rule.html"><span class="sublist-icon glyphicon glyphicon-user"></span><span class="sub-title">游戏玩法</span></a>
							</li>
							<li>
								<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />踢球技巧</div>
								<a href="skill.html"><span class="sublist-icon glyphicon glyphicon-user"></span><span class="sub-title">踢球技巧</span></a>
							</li>
							<li>
								<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />常见问题</div>
								<a href="common.html"><span class="sublist-icon glyphicon glyphicon-credit-card"></span><span class="sub-title">常见问题</span></a>
							</li>
							<li>
								<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />更新设置</div>
								<a href="identify.html"><span class="sublist-icon glyphicon glyphicon-credit-card"></span><span class="sub-title">更新设置</span></a>
							</li>
						</ul>
					</div>
				</div>
			</div>
			<div class="right-product view-product right-full">
				<div class="container-fluid">

					<div class="message-manage info-center">
						<div class="page-header">
							<div class="pull-left">
								<h4>二维码设置</h4>
							</div>
						</div>
						<div class="users-list">
							<div class="titles">
								设置客服二维码
							</div>
							<div class="list-header">
								<div class="replace">
									<p>系统当前使用图片</p>
									<div class="original orin_str">
										<div class="img_div">
										</div>
										<form action="/admin/adminFund/setCustomerQrCode " method="post" enctype="multipart/form-data" class="formse">
											<input type="file" id="up" name="file" accept="image/*" class="filess" />
											<div class="file_a">
												<button>换一张</button><span></span>
											</div>
											<input type="submit" value="提交" class="tijiao" />
										</form>
									</div>
<<<<<<< HEAD
									<!--<div class="new-chart">
										<img id="ImgPr" width="100%" />
									</div>-->

=======
									<!--<div class="new-chart">-->
										<!--<img id="ImgPr" width="100%" />-->
									<!--</div>-->
									上传图片
									<form action="/admin/adminFund/setCustomerQrCode " method="post" enctype="multipart/form-data">
										<input type="file" id="up" name="file" accept="image/*" />
										<input type="submit" value="←替换" class="tijiao" />
									</form>
>>>>>>> 1d0dbbfbefb9363078b5db6b25b893ccb128c207
								</div>
							</div>
						</div>

						<!--<div class="public">
							<p>设置公众号二维码</p>
							<div class="list-header">
								<div class="replace">
									<div class="original">

									</div>
									<div class="new-chart">
										<img id="ImgPr" width="100%" />
									</div>
									<!--上传图片-->
						<!--<form action="/admin/adminFund/setAgentImg" method="post" enctype="multipart/form-data">
										<input type="file" id="up" name="file" accept="image/*" />
										<input type="submit" value="←替换" class="tijiao" />
									</form>
								</div>
							</div>
						</div>-->

						<div class="manage-record">
						</div>
					</div>
					<div class="show-page padding-big-right hidden">
						<div class="page">
						</div>
					</div>

				</div>
			</div>
			<div class="setup">
				<div class="setAgent">
					<div class="titleNamer">
						<h4>修改密码</h4>
					</div>
					<div class="from-warry">
						<p>旧密码：<input class="dl-input names" type="text" placeholder="请输新的账号" /></p>
						<p>新密码：<input class="dl-input poswd" type="text" placeholder="请输入新的密码" /></p>
						<p>再次输入：<input type="text" placeholder="请输入新密码" class="confirm" /></p>
						<p><input class="determine" type="button" value="确定修改" /></p>
					</div>
				</div>
			</div>
		</div>
		<script type="text/javascript">
			var str = '';
			$('.filess').change(function() {
				$('.file_a >span').html('');
				str = $(this).val()
				var arr = str.split('\\'); //注split可以用字符或字符串分割 
				var my = arr[arr.length - 1]; //这就是要取得的图片名称 
				$('.file_a >span').append(my)
			})

			$('.cancellation').on('click', function() {
				$.ajax({
					type: "get",
					url: "/admin/adminFund/exitLogin  ",
					contentType: "application/json; charset=utf-8",
					success: function(res) {
						if(res.error_code == 0) {
							window.location.href = 'login.html';
						}
					}
				});
			})

			$('.tijiao').on('click', function() {
				alert('请求成功！')
			})
			$(function() {
				/*换肤*/
				$(".dropdown .changecolor li").click(function() {
					var style = $(this).attr("id");
					$("link[title!='']").attr("disabled", "disabled");
					$("link[title='" + style + "']").removeAttr("disabled");

					$.cookie('mystyle', style, {
						expires: 7
					}); // 存储一个带7天期限的 cookie 
				})
				var cookie_style = $.cookie("mystyle");
				if(cookie_style != null) {
					$("link[title!='']").attr("disabled", "disabled");
					$("link[title='" + cookie_style + "']").removeAttr("disabled");
				}

				/*左侧导航栏显示隐藏功能*/
				$(".subNav").click(function() {
					/*显示*/
					if($(this).find("span:first-child").attr('class') == "title-icon glyphicon glyphicon-chevron-down") {
						$(this).find("span:first-child").removeClass("glyphicon-chevron-down");
						$(this).find("span:first-child").addClass("glyphicon-chevron-up");
						$(this).removeClass("sublist-down");
						$(this).addClass("sublist-up");
					}
					/*隐藏*/
					else {
						$(this).find("span:first-child").removeClass("glyphicon-chevron-up");
						$(this).find("span:first-child").addClass("glyphicon-chevron-down");
						$(this).removeClass("sublist-up");
						$(this).addClass("sublist-down");
					}
					// 修改数字控制速度， slideUp(500)控制卷起速度
					$(this).next(".navContent").slideToggle(300).siblings(".navContent").slideUp(300);
				})
				/*左侧导航栏缩进功能*/
				$(".left-main .sidebar-fold").click(function() {

					if($(this).parent().attr('class') == "left-main left-full") {
						$(this).parent().removeClass("left-full");
						$(this).parent().addClass("left-off");

						$(this).parent().parent().find(".right-product").removeClass("right-full");
						$(this).parent().parent().find(".right-product").addClass("right-off");

					} else {
						$(this).parent().removeClass("left-off");
						$(this).parent().addClass("left-full");

						$(this).parent().parent().find(".right-product").removeClass("right-off");
						$(this).parent().parent().find(".right-product").addClass("right-full");

					}
				})

				/*左侧鼠标移入提示功能*/
				$(".sBox ul li").mouseenter(function() {
					if($(this).find("span:last-child").css("display") == "none") {
						$(this).find("div").show();
					}
				}).mouseleave(function() {
					$(this).find("div").hide();
				})
			})
		</script>
	</body>

</html>
<script type="text/javascript" class="uploader js_show">
	$(function() {
		var tmpl = '<li class="weui-uploader__file" style="background-image:url(#url#)"></li>',
			$gallery = $("#gallery"),
			$galleryImg = $("#galleryImg"),
			$uploaderInput = $("#uploaderInput"),
			$uploaderFiles = $("#uploaderFiles");

		$uploaderInput.on("change", function(e) {
			var src, url = window.URL || window.webkitURL || window.mozURL,
				files = e.target.files;
			for(var i = 0, len = files.length; i < len; ++i) {
				var file = files[i];

				if(url) {
					src = url.createObjectURL(file);
				} else {
					src = e.target.result;
				}

				$uploaderFiles.append($(tmpl.replace('#url#', src)));
			}
		});
		$uploaderFiles.on("click", "li", function() {
			$galleryImg.attr("style", this.getAttribute("style"));
			$gallery.fadeIn(100);
		});
		$gallery.on("click", function() {
			$gallery.fadeOut(100);
		});
	});
	//	$(function() {
	//		$.ajax({
	//			type: "post",
	//			url: BaseUrl + "/admin/agent/getAgentImage",
	//			contentType: "application/json; charset=utf-8",
	//			success: function(res) {
	//				console.log(res)
	//			}
	//		});
	//	})
	$.ajax({
		type: "post",
		url: "/admin/adminFund/getCustomerQrCode",
		contentType: "application/json; charset=utf-8",
		success: function(res) {
			console.log(res)
			var str = '<img src="' + baseUrl + '/' + res.data.imgUrl + '" width="100%"/>'
			$('.img_div').append(str)
		}
	});
</script>
<script src="script/index.js"></script>